provider "random" {
  version = 3.1
}

resource "random_shuffle" "zone_id" {
  input        = keys(var.default_zone)
  result_count = 1
}

resource "random_shuffle" "vswitch_id" {
  input        = var.default_zone[random_shuffle.zone_id.result[0]]
  result_count = 1
}